// 地址相关类型定义
export interface Address {
  id: string
  name: string
  phone: string
  address: string
  isDefault: boolean
}

// 用户相关类型定义
export interface User {
  id: number
  nickname: string
  avatar: string
  phone: string
  level: string
  points: number
  openid?: string
  unionid?: string
}

// API 响应类型定义
export interface IResponse<T> {
  code: number
  message: string
  data: T
  timestamp: number
}
